package com.jollychic.db;

import java.util.Map;

/**
 * DB 的配置信息
 */
public abstract class DBConfig {

	public String DIRVER ;

	public String URL;

	public String USER;

	public String PASSWORD;

	public void setConf(String dirver, String url, String user, String password) {
		this.DIRVER = dirver;
		this.URL = url;
		this.USER = user;
		this.PASSWORD = password;
	}
	
	public abstract DBConfig interpretYaml(Map map) ;

}
